<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>axios-get</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.js"></script>
</head>
<body>
<div id="box"></div>
<script>
    axios({
        method: 'GET',
        url: 'http://localhost:8888/getT',
        params: {
            "a": "1",
            "b": "2",
        }
    }).then(res => {
        console.log(res)
    })
</script>
</body>
</html>